home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic Controls / Visual Basic Controls.iso / vbcontrol / swbgrad / readme.txt < prev    next >
Encoding:
Text File  |  1999-02-22  |  1.1 KB  |  35 lines

  1. Gradient Form Background Control
  2. ================================
  3.  
  4. To create a gradient background on a form,
  5. add this control to the form and set the 
  6. following properties:
  7.  
  8.  
  9. Enabled     True = Gradient background will be displayed.
  10.             False = Gradient background will not be displayed.
  11.  
  12. StartColor  The top-most (or left-most) color of the gradient.
  13.  
  14. EndColor    The bottom-most (right-most) color of the gradient.
  15.  
  16. Steps       The number of gradient shade differences that 
  17.             will be used to between the starting color and
  18.             ending color.
  19.  
  20. Orientation The direction of the gradient. 
  21.             1 = Vertical (top to bottom)
  22.             2 = Horizontal (left to right)
  23.  
  24.  
  25. The method 'Refresh' will cause the control to redraw the 
  26. gradient effect.  This method should be called during your
  27. form's Resize event.  
  28.  
  29. Additionally, the gradient control works best when the 
  30. container form's AutoRedraw property is set to True.
  31.  
  32. Notes:  The control can only be placed on a standard 
  33.     non-MDI form.  It will not work on any other 
  34.     type of container.
  35.